import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'businessCenter-control',
  templateUrl: './businessCenter-control.component.html',
  styleUrls: ['./businessCenter-control.component.scss'],
})
export class BusinessCenterControlComponent implements OnInit {

  // 商务中心总控
  department: any = 'ECC003'; // 部门枚举

  config: any = [
    {
      title: '定损中',
      api: 'fn.businessControl.inLossQuotation',
      drawer: {
        'title': '定损中详情',
        'action': 'drawer',
        'formId':'businessControl.inLossQuotationForDetail',
        'width':'40vw',
      }
    },
    {
      title: '报案跟踪数据',
      api: 'fn.businessControl.trackData',
      drawer: {
        'title': '报案跟踪数据',
        'action': 'drawer',
        'formId':'businessControl.trackDataDetail',
        'width':'40vw',
      }
    },
  ]

  constructor() {

  }

  ngOnInit() {

  }

}

